<template>
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/welcome' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item v-if="$slots.second"><slot name="second"></slot></el-breadcrumb-item>
      <el-breadcrumb-item v-if="$slots.third"><slot name="third"></slot></el-breadcrumb-item>
    </el-breadcrumb>
</template>

<script>
export default {
  name: 'breadcrumb'
}
</script>

<style lang="less" scoped>

</style>
